package pers.qianyu.module.core.domain.image.query;

import java.io.*;

/**
 * @author mizzle rain
 * @date 2021-02-11 13:19
 */
public class NoticeQuery implements Serializable {
    private static final long serialVersionUID = 7300163411673350328L;
    private int page = 0;
    private int limit = 10;

    private Integer type;
    private Long targetId;
    private Long ownerId;
    private Integer status;

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public int getLimit() {
        return limit;
    }

    public void setLimit(int limit) {
        this.limit = limit;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Long getTargetId() {
        return targetId;
    }

    public void setTargetId(Long targetId) {
        this.targetId = targetId;
    }

    public Long getOwnerId() {
        return ownerId;
    }

    public void setOwnerId(Long ownerId) {
        this.ownerId = ownerId;
    }

    @Override
    public String toString() {
        return "NoticeQuery{" +
                "page=" + page +
                ", limit=" + limit +
                ", type=" + type +
                ", targetId=" + targetId +
                ", ownerId=" + ownerId +
                ", status=" + status +
                '}';
    }
}
